<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <div id="app">
       <div v-for="(user,index) in userList">
           {{index+1}} -- {{user.name}}的年龄是{{user.age}}岁
       </div>
    </div>
    <script src="vue.min.js"></script>
    <script>
        new Vue({
            el: '#app',
            data: {
               userList: [
                   {"name":"hahaha","age":20},
                   {"name":"xixixi","age":18}
               ]
            },
        })
    </script>
</body>

</html>     